﻿using MediatR;
using Traceability.Domain;
using Traceability.ErrorCode;

namespace Traceability.App.Applications.Photos
{
    public class PhotosSaveCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 信息类型
        /// </summary>
        public string? InformationType { get; set; }
        /// <summary>
        /// 照片类型
        /// </summary>
        public string? PhotoType { get; set; }
        /// <summary>
        /// 生产批次ID
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 照片路径
        /// </summary>
        public string ImageUrl { get; set; }
        /// <summary>
        /// false上传 true删除
        /// </summary>
        public bool IsAddOrDel { get; set; }
    }
}
